-- GENERATED SPELL FOR [Snowplain Shaman] --


function spell0_27279(pUnit, Event) --@Searing Totem,Self--
pUnit:FullCastSpellOnTarget(39591,pUnit)
pUnit:RegisterEvent('Sorts_27279', 619, 1)
end

function Sorts_27279(pUnit, Event)
local choix_sorts_27279 = math.random(0, 0)
if choix_sorts_27279 == 0 then
pUnit:RegisterEvent('spell0_27279', 1, 1)
end
end

function mob27279_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27279', math.random(1500, 3000), 1)
end

function mob27279_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27279_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27279_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27279, 1, 'mob27279_Action')
RegisterUnitEvent(27279, 2, 'mob27279_Leave')
RegisterUnitEvent(27279, 3, 'mob27279_Kill')
RegisterUnitEvent(27279, 4, 'mob27279_Die')
